import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user.js'
import requestinfo from './modules/requestinfo.js'
import getters from './getters.js'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    baseAvatar: require('@/assets/image/author.jpg')
  },
  modules: {
    user,
    requestinfo
  },
  getters
})
